package api

type WithdrawListReq struct {
	CompanyName string `json:"company_name"`
	Status      string `json:"status"`
	StartTime   string `json:"startTime"`
	EndTime     string `json:"endTime"`
	PageNo      int    `json:"page_no"`
	PageSize    int    `json:"page_size"`
}

type WithdrawListRes struct {
	Id          string `json:"id"`
	CompanyName string `json:"company_name"`
	Status      string `json:"status"`
	Amount      string `json:"amount"`
	Currency    string `json:"currency"`
	Image       string `json:"image"`
	CreatedAt   string `json:"created_at"`
}

type OperatorWithdrawReq struct {
	Id          string `json:"id"`
	OperatorStr bool   `json:"operator_str"`
}

type AgentWithdrawListReq struct {
	CompanyName string `json:"company_name"`
	StartTime   string `json:"startTime"`
	EndTime     string `json:"endTime"`
	PageNo      int    `json:"page_no"`
	PageSize    int    `json:"page_size"`
}

type AgentWithdrawListRes struct {
	CompanyName string `json:"company_name"`
	Status      string `json:"status"`
	Amount      string `json:"amount"`
	Currency    string `json:"currency"`
	CreatedAt   string `json:"created_at"`
}

type AgentCommissionAccountInfo struct {
	Amount   string `json:"amount"`
	Currency string `json:"currency"`
}

type AgentCommissionAccountRes struct {
	Account                    string                        `json:"account"`
	AgentCommissionAccountInfo []*AgentCommissionAccountInfo `json:"agent_commission_account_info"`
}
